package com.profound.blog.bean;

import java.io.Serializable;
import java.util.Date;

public class Article implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer articleId;
	private String title;
	private String articleContent;
	private Integer blogId;
	private int accessCount;
//	private Integer sysArticleTypeId;
	private Integer userArticleTypeId;
	private Date publishDate;
	private Integer userId;
	private SysArticleType ST;
	
	private int reviewCount;
	private String author;
	public Integer getArticleId() {
		return articleId;
	}
	public void setArticleId(Integer articleId) {
		this.articleId = articleId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getArticleContent() {
		return articleContent;
	}
	public void setArticleContent(String articleContent) {
		this.articleContent = articleContent;
	}
	public Integer getBlogId() {
		return blogId;
	}
	public void setBlogId(Integer blogId) {
		this.blogId = blogId;
	}
	public int getAccessCount() {
		return accessCount;
	}
	public void setAccessCount(int accessCount) {
		this.accessCount = accessCount;
	}
//	public Integer getSysArticleTypeId() {
//		return sysArticleTypeId;
//	}
//	public void setSysArticleTypeId(Integer sysArticleTypeId) {
//		this.sysArticleTypeId = sysArticleTypeId;
//	}
	
	public SysArticleType getST() {
		return ST;
	}
	public void setST(SysArticleType sysArticleType) {
		this.ST = sysArticleType;
	}
	
	public Integer getUserArticleTypeId() {
		return userArticleTypeId;
	}

	public void setUserArticleTypeId(Integer userArticleTypeId) {
		this.userArticleTypeId = userArticleTypeId;
	}
	public Date getPublishDate() {
		return publishDate;
	}
	public void setPublishDate(Date publishDate) {
		this.publishDate = publishDate;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public int getReviewCount() {
		return reviewCount;
	}
	public void setReviewCount(int reviewCount) {
		this.reviewCount = reviewCount;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
//	public Article(Integer articleId, String title, String articleContent,
//			Integer blogId, int accessCount, Integer sysArticleTypeId,
//			Integer userArticleTypeId, Date publishDate, Integer userId,
//			int reviewCount, String author) {
//		super();
//		this.articleId = articleId;
//		this.title = title;
//		this.articleContent = articleContent;
//		this.blogId = blogId;
//		this.accessCount = accessCount;
//		this.sysArticleTypeId = sysArticleTypeId;
//		this.userArticleTypeId = userArticleTypeId;
//		this.publishDate = publishDate;
//		this.userId = userId;
//		this.reviewCount = reviewCount;
//		this.author = author;
//	}
	
	public Article() {
		super();
	}
	
	public Article(Integer articleId, String title, String articleContent,
		Integer blogId, int accessCount, Integer userArticleTypeId,
		Date publishDate, Integer userId, SysArticleType sysArticleType,
		int reviewCount, String author) {
		super();
		this.articleId = articleId;
		this.title = title;
		this.articleContent = articleContent;
		this.blogId = blogId;
		this.accessCount = accessCount;
		this.userArticleTypeId = userArticleTypeId;
		this.publishDate = publishDate;
		this.userId = userId;
		this.ST = sysArticleType;
		this.reviewCount = reviewCount;
		this.author = author;
}
	
	
}
